/* 
 * Song Exporter
 *
 * Choi Jonghwan<saxboy@saxboy.pe.kr>
 * 2006/04/23
 */

#ifndef __SONG_EXPORTER_H__
#define __SONG_EXPORTER_H__

#include "song.h"

typedef struct __song_exporter {

	SONG song; 

	int (*handler)(SONG s); 

} _SONGEXPORTER; 
typedef _SONGEXPORTER *SONGEXPORTER; 

SONGEXPORTER songexporter_New(void); 
SONGEXPORTER songexporter_NewWithType(const char *type); 
int songexporter_Delete(SONGEXPORTER se); 
int songexporter_SetSong(SONGEXPORTER se, SONG song); 
int songexporter_Load(SONGEXPORTER se, const char *type); 
int songexporter_Run(SONGEXPORTER se); 

#endif /* __SONG_EXPORTER_H__ */


